package com.framework.common.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value="sys_redis_key", description="redis按规则自增key")
@TableName("sys_redis_key")
public class RedisKey implements Serializable {
    @TableId(value = "`id`")
    private String id;
    @TableField(value = "`name`")
    private String name;
    @TableField(value = "`rule`")
    private String rule;
    @TableField(value = "`key`")
    private String key;
    @TableField(value = "`value`")
    private int value;
}
